home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 21
/
Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso
/
Aminet
/
util
/
rexx
/
zipscripts.lha
/
zipscripts.readme
< prev
next >
Wrap
Text File
|
1997-07-11
|
3KB
|
116 lines
ARexx Scripts for Zip Disks (Version 2.0)
by Todd Deery
Here are a few scripts I wrote for use with a Zip Drive. Essentially,
the scripts allow one to set up different assigns and paths with
different disks.
There are 2 versions of the scripts. The first (in directory
DataFlyer) is for those users with a DataFlyer SCSI controller and
the CheckDC command (in the c directory on the install disk) or with a
controller that automatically recognizes diskchanges. The second (in
directory Generic) is for all others. The 2 will function identically,
the second just requires more code to simulate the function of CheckDC.
How it works (a brief description):
The ARexx script zip.rexx continuously checks the drive until a disk
is inserted. Then the startup script for the disk is executed and the
paths and assigns are added. The eject script removes the assigns and
paths and ejects the disk. It also starts the zip.rexx script.
Requirements:
Ziptool V1.2 by Oliver Hitz. Available on Aminet.
Installation:
copy zip.rexx s:
copy eject s:
copy setup s:setup
add the following lines to s:user-startup
runback >nil: checkdc zip: <--- only if using a DataFlyer
controller
run >nil: rx s:zip.rexx
On each zip disk, create a setup directory.
copy remove zip:setup
copy startup zip:setup
(The fzip script will format a zip disk with the name Empty, and copy
default versions of the above scripts into a directory named setup on the
zip disk.)
Edit each of the files in zip:setup to correspond to the needed
environment for the disk.
In startup add any assigns, and other commands that are needed to
setup the software on that disk.
Sample startup
assign joe: zip:
assign fred: zip:misc
;Path additions
assign c: joe: fred: add
In remove add the commands necessary to remove the paths, and
assigns, as well as any other shutdown things that are needed.
Sample remove
assign c: joe: fred: remove
assign joe: remove
assign fred: remove
Customization:
The files currently assume that the zip drive is referred to by zip:
If zip0: or something else is used, it will be necessary to modify the
scripts.
Author Contact Info:
Name: Todd Deery
Email: deery@mast.queensu.ca
Address: 5A Scott St.
Kingston, ON
CANADA
K7L 1L3
Disclaimer:
This works for me. I make no guarantees that it will work for you.
However, if you find a problem please let me know, and I'll try to
work on it.
The Future:
I don't know. Any suggestions are welcome.
Registration:
None. However, I would appreciate an email or something, just so I
know that some people are using it. Also, money, computers, etc.
would not be turned away. :}